<?
$JO[ "Point"		] = JO( array( "EN" => "Point",															"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Điểm"		) );
$JO[ "IWantTo"		] = JO( array( "EN" => "I want to...",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Tôi muốn..."		) );
$JO[ "JukeOnPoint"	] = JO( array( "EN" => "Know What Is JukeOn™ Point",									"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Biết Điểm JukeOn™ Là Gì."		) );
$JO[ "MyPoint"		] = JO( array( "EN" => "My Point",														"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Điểm Của Tôi"		) );
$JO[ "Date"			] = JO( array( "EN" => "Date",															"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Ngày"		) );
$JO[ "Deposit"		] = JO( array( "EN" => "Point Deposit",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Tích Lũy Điểm"		) );
$JO[ "Type"			] = JO( array( "EN" => "Type",															"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Loại"		) );
$JO[ "Choice"		] = JO( array( "EN" => "Choice",														"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Chọn Lựa"		) );
$JO[ "Guide"		] = JO( array( "EN" => "Guide",															"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Hướng Dẫn"		) );
$JO[ "Prepaid"		] = JO( array( "EN" => "Prepaid Card",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Thẻ Trả Trước"		) );
$JO[ "Mobile"		] = JO( array( "EN" => "Mobile Phone SMS",												"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Tin Nhắn SMS"		) );
$JO[ "Bank"			] = JO( array( "EN" => "Bank Transfer",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Chuyển Khoản NH"		) );
$JO[ "CardMessage"	] = JO( array( "EN" => "You can buy a prepaid card any Internet cafe near your house.",	"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Bạn có thể mua thẻ trả trước tại bất cứ quán cafe internet nào gần nhà."		) );
$JO[ "CardNumber"	] = JO( array( "EN" => "Card Number",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Số Thẻ"		) );
$JO[ "ScrathNumber"	] = JO( array( "EN" => "Scrath Number",													"KO" => "ì•„í‹°ìŠ¤íŠ¸",	"VI" => "Mã Bí Mật"		) );
?>
<?

	if( empty( $_SESSION[ "JO_account_key" ] ) ) JO_location( "?JO_content=9" );

	$query = "

		SELECT		*
		FROM		`point`
		WHERE		`delete` IS NULL
		AND			`account` = '" . $_SESSION[ "JO_account_key" ] . "'
		ORDER BY	`insert` DESC

	";

	$recordSet = JO_query( $query );

?>


<div class="JO_page">

	<h1><?=$JO["Point"];?></h1>

	<h2>&nbsp;</h2>

	<h3>&nbsp;</h3>

</div>

<div class="JO_relative" style="width: 960px;">



	<div class="JO_left">

		<div class="JO_box_240">

			<h1><?=$JO[ "IWantTo" ] ?></h1>

			<a class="JO_menu" href="?JO_content=9"><?=$JO[ "JukeOnPoint" ] ?></a>

		</div>

	</div>



	<div class="JO_left">



		<div class="JO_bar_720">

			<h1><?=$JO[ "MyPoint" ] ?></h1>

			<div>

				<table>

					<tr>
						<th><?=$JO[ "Date" ] ?></th>
						<th><?=$JO[ "Point" ] ?></th>
					</tr>

					<? if( $recordSet -> num_rows ) while( $record = $recordSet -> fetch_array( ) ) { ?>

						<tr>
							<td><?= $record[ "insert" ] ?></td>
							<td><?= $record[ "point" ] ?></td>
						</tr>

					<? } else { ?>

						<tr>
							<td colspan="2" class="JO_center">...</td>
						</tr>

					<? } ?>

				</table>

				<? /*

					현재까지 전체 사용 내역 목록
					무료 포인트 구분
					무료 포인트 사용 기록
					무료 포인트 우선 사용

				*/ ?>

			</div>

		</div>



		<div class="JO_bar_720">

			<h1><?=$JO[ "Deposit" ] ?></h1>

			<div>

				<table>

					<tr>
						<th><?=$JO[ "Type" ] ?></th>
						<th><?=$JO[ "Choice" ] ?></th>
						<th><?=$JO[ "Guide" ] ?></th>
					</tr>

					<tr>
						<td class="JO_middle"><?=$JO[ "Prepaid" ] ?></td>
						<td>
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
						</td>
						<td class="JO_middle">
							<?=$JO[ "CardMessage" ] ?>
						</td>
					</tr>

					<tr>
						<td class="JO_middle"><?=$JO[ "Mobile" ] ?></td>
						<td>
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
						</td>
						<td class="JO_middle"></td>
					</tr>

					<tr>
						<td class="JO_middle"><?=$JO[ "Bank" ] ?></td>
						<td>
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
							<img src="JO_80_image/JO_00_blank.gif" style="margin-right: 1px; width: 32px; hieght: 32px; background-color: #EBEBEB; vertical-align: top;" />
						</td>
						<td class="JO_middle"></td>
					</tr>				

				</table><br />

				<table>

					<tr>
						<th><?=$JO[ "CardNumber" ] ?></th>
						<td><input style="width: 67px;" /></td>
					</tr>

					<tr>
						<th><?=$JO[ "ScrathNumber" ] ?></th>
						<td><input style="width: 67px;" /></td>
					</tr>

				</table><br />

				<? /*

					선불 카드 충전 양식 목록
					SMS 충전 양식 목록 - SMS 번호 + 아이디

				*/ ?>

			</div>

		</div>



	</div>

</div>